package com.wuye.repository;


import com.wuye.model.option.Question;
import com.wuye.model.option.QuestionForm;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by jiawenlong on 2016/8/1.
 */
public interface QuestionRepository extends PagingAndSortingRepository<Question, Long> {

    List<Question> findByFormIdOrderByIdAsc(long formId);

}
